package drds.common.db.xml_mapping.mapping;

import drds.common.db.xml_mapping.transaction.TransactionFactory;
import lombok.Getter;
import lombok.NonNull;
import lombok.Setter;

import javax.sql.DataSource;


public final class Environment {
  @Setter
  @Getter
  private final String id;
  @Setter
  @Getter
  private final TransactionFactory transactionFactory;
  @Setter
  @Getter
  private final DataSource dataSource;

  public Environment(@NonNull String id, @NonNull TransactionFactory transactionFactory, @NonNull DataSource dataSource) {
    this.id = id;
    this.transactionFactory = transactionFactory;
    this.dataSource = dataSource;
  }


}
